home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeCCCCoooouuuunnnntttt((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeCCCCoooouuuunnnntttt((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_C_l_i_p_b_o_a_r_d_I_n_q_u_i_r_e_C_o_u_n_t - A clipboard function that returns
- the number of data item formats
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
- #include <Xm/CutPaste.h>
-
- int _X_m_C_l_i_p_b_o_a_r_d_I_n_q_u_i_r_e_C_o_u_n_t (ddddiiiissssppppllllaaaayyyy,,,, wwwwiiiinnnnddddoooowwww,,,, ccccoooouuuunnnntttt,,,,
- mmmmaaaaxxxx____ffffoooorrrrmmmmaaaatttt____nnnnaaaammmmeeee____lllleeeennnnggggtttthhhh)
- _D_i_s_p_l_a_y **** ddddiiiissssppppllllaaaayyyy;
- _W_i_n_d_o_w wwwwiiiinnnnddddoooowwww;
- _i_n_t **** ccccoooouuuunnnntttt;
- _u_n_s_i_g_n_e_d _l_o_n_g**** mmmmaaaaxxxx____ffffoooorrrrmmmmaaaatttt____nnnnaaaammmmeeee____lllleeeennnnggggtttthhhh;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_C_l_i_p_b_o_a_r_d_I_n_q_u_i_r_e_C_o_u_n_t returns the number of data item
- formats available for the data item in the clipboard. This
- function also returns the maximum name-length for all
- formats in which the data item is stored.
-
- ddddiiiissssppppllllaaaayyyy
- Specifies a pointer to the _D_i_s_p_l_a_y structure that was
- returned in a previous call to _X_O_p_e_n_D_i_s_p_l_a_y or
- _X_t_D_i_s_p_l_a_y.
-
- wwwwiiiinnnnddddoooowwww
- Specifies a widget's window ID that relates the
- application window to the clipboard. The widget's
- window ID can be obtained by using _X_t_W_i_n_d_o_w. The same
- application instance should pass the same window ID to
- each of the clipboard functions that it calls.
-
- ccccoooouuuunnnntttt
- Returns the number of data item formats available for
- the data item in the clipboard. If no formats are
- available, this argument equals zero. The count
- includes the formats that were passed by name.
-
- mmmmaaaaxxxx____ffffoooorrrrmmmmaaaatttt____nnnnaaaammmmeeee____lllleeeennnnggggtttthhhh
- Specifies the maximum length of all format names for
- the data item in the clipboard.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- _C_l_i_p_b_o_a_r_d_S_u_c_c_e_s_s
- The function is successful.
-
- _C_l_i_p_b_o_a_r_d_L_o_c_k_e_d
- The function failed because the clipboard was locked by
- another application. The application can continue to
- call the function again with the same parameters until
- the lock goes away. This gives the application the
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeCCCCoooouuuunnnntttt((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeCCCCoooouuuunnnntttt((((3333XXXX))))
-
-
-
- opportunity to ask if the user wants to keep trying or
- to give up on the operation.
-
- _C_l_i_p_b_o_a_r_d_N_o_D_a_t_a
- The function could not find data on the clipboard
- corresponding to the format requested. This could
- occur because the clipboard is empty; there is data on
- the clipboard but not in the requested format; or the
- data in the requested format was passed by name and is
- no longer available.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_C_l_i_p_b_o_a_r_d_S_t_a_r_t_C_o_p_y(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-